#include <iostream>
#include <vector>
#include <cfloat>
#include <algorithm>
using namespace std;

void output(vector<float>& vec)
{
    float _min = FLT_MAX, _max = FLT_MIN, _sum = 0;
    float _mid = 0, _q25 = FLT_MIN, _q75 = 0;
    sort(vec.begin(), vec.end());
    for (float i : vec)
    {
        _sum += i;
        _min = min(_min, i);
        _max = max(_max, i);
    }
    _mid = (vec.size() % 2) ? vec[vec.size() / 2] : ((vec[vec.size() / 2] + vec[vec.size() / 2 - 1]) / 2);
    cout << "len=" << vec.size() << ", _min=" << vec[0] << ", _max=" << vec[vec.size() - 1] << "\n";
    cout << "mid=" << _mid << ", _min=" << _min << ", _max=" << _max << "\n";
    cout << "AVG=" << _sum / 2.0;
}

int main(int argc, char const* argv[])
{
    vector<float> temp = { 33.5, 54.10058481710711, 54.131107253443734, 54.4195024001325, 54.44006356868823, 54.46952880015735, 55.042176928089216, 55.0577883142571, 55.06017784343766, 55.07165928315475, 55.16818627085253, 55.18135664551045, 55.21912587711369, 56.1343971855673, 56.23151836692725, 56.2695114082959, 56.325551391907155, 56.67685687184322, 56.79917299654295, 57.14057048143033, 57.27914172929343, 57.391093239419225, 57.50265681409478, 57.77770045271112, 58.25496745029238, 58.47323033785108, 58.76346399066586, 59.34118580932024, 60.0, 60.0, 60.17383594953327, 60.23418047929401, 60.3769797033221, 60.67475768456945, 61.5, 61.90480789251363, 62.28186690630312, 62.43145820802298, 62.85866374440804, 63.09125885988356, 63.82605929503445, 64.0, 64.0, 64.19383576452443, 64.22988620037229, 64.68673209303154, 65.5536216773167, 66.56936712764108, 67.21453487295451, 67.24519767844814, 68.01904429718071, 68.03723277129447, 79.92880100283215 };
    output(temp);
    return 0;
}
